﻿using LChat.Data;
using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace LDisignPatern
{
    public class ChatDb : DbContext
    {
        public ChatDb()
            :base("DefaultConnection")
        { }

        public DbSet<ChanelsName> ChanelsNems { get; set; }
        public DbSet<LikeChatChanel> LikeChatChanels { get; set; }
        public DbSet<ChatMessage> ChatMessages { get; set; }
        public DbSet<ChatRole> ChatRols { get; set; }

    }
}
